
<include file="__THEME__/header" />

<link href="../Public/notify.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.scrollTo.js"></script>
<script>
    $(function(){
            $.scrollTo($("#{$lid}"),1200);
    });
</script>


<div class="content"><!-- 内容 begin  -->
    <include file="__THEME__/apps" />
    <div class="main"><!-- 画布 begin  -->


        <div class=page_title> <!-- page_title begin -->
            <h2><img src="../Public/images/mail_down.gif" />消息</h2>
        <div class="c"></div>
</div><!-- page_title end -->
        <div class="tab-menu"><!-- 切换标签 begin  -->
            <ul>
                <li><a href="__URL__/inbox" <php>if($_GET["t"] == "inbox") echo 'class="on"';</php> ><span>收件箱</span></a></li>
                <li><a href="__URL__/send"  <php>if($_GET["t"] == "send") echo 'class="on"';</php> ><span>发件箱</span></a></li>
                <li><a href="__URL__/index"><span>通知</span></a></li>
                <li><a href="__URL__/write"><span><div class="ico_add">&nbsp;</div>写短消息</span></a></li>
            </ul>
        </div><!-- 切换标签 end  -->

        <div class="MessageBox">
            <div class="MList" style="width:830px;"><!-- 好友日志 begin  -->

                <ul>
                    <li>
                        <div class="left" style="width:8%">
                            <span class="headpic50">
                               <a href="__APP__/space/{$msg.fromUserId}"><img src="{$msg.fromUserId|getUserFace}" /></a>
                            </span>
                         </div>
                         <div class="left" style="width:15%">
                            <a href="__APP__/space/{$msg.fromUserId}">{$msg.fromUserId|getUserName}</a><br />
                            <span class="cGray2">{$msg.cTime|friendlyDate="full"}</span>
                        </div>
                        <div class="left" style="width:77%">
                            <h3 class="f14px"><strong>{$msg.subject}</strong></h3>
                            <p class="btmline lh35 f14px">
                                
                            </p>
                            <div class="btmlineD left" style="width:77%; padding:10px 0px 50px 0px;">
                                {$msg.content|h}
                            </div>

                        </div>
                    </li>

                    <volist name="r_msgs" id="r_msg">
                        <li id="{$r_msg.id}">
                            <div class="left" style="width:8%">
                                <span class="headpic50">
                                    <img src="{$r_msg.fromUserId|getUserFace}" alt="用户名" />
                                </span>
                             </div>
                             <div class="left" style="width:15%">
                             
                                <a href="#">{$r_msg.fromUserId|getUserName}</a><br />
                                <span class="cGray2">{$r_msg.cTime|friendlyDate="full"}</span>
                            </div>
                            <div class="btmlineD left" style="width:77%; padding:10px 0px 50px 0px;">
                                {$r_msg.content}
                            </div>
                        </li>
                    </volist>


                    <li id="reply">
                        <div class="left" style="width:23%">&nbsp;</div>
                        <div class="left" style="width:77%">
                            <form action="__URL__/reply" method="post">
                                <input type="hidden" name="replyMsgId" value="{$msg.id}">
                                <input type="hidden" name="subject" value="{$msg.subject}">
                                <input type="hidden" name="type" value="{.t}">
                                <strong>回复:</strong><br />
                                <textarea cols="" rows="5" style="width:99%" class="Text" onBlur="this.className='Text'" onFocus="this.className='Text1'" name="content"></textarea>
                                <input  type="submit" class="btn_b" style="margin-top:5px;" id="button" value="发送" />
                            </form>
                        </div>
                    </li>




                </ul>



            </div><!-- 好友日志 end  -->
        </div>






    </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
